package com.cloud.logger.zchain.zchainserver.entity.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/11/29.
 */
@Data
public class AxisSeriesNode {


    @JsonProperty("data")
    @JSONField(name = "data")
    @ApiModelProperty(name = "data", notes = "数据内容", example = "[1,2,3]")
    private List data = new ArrayList();

    @JsonProperty("type")
    @JSONField(name = "type")
    @ApiModelProperty(name = "type", notes = "图标类型", example = "line")
    private String type;

    @JsonProperty("name")
    @JSONField(name = "name")
    @ApiModelProperty(name = "name", notes = "名称", example = "xx")
    private String name;

    public AxisSeriesNode(String name, String type){
        this.name = name;
        this.type = type;
    }

}
